#pragma once
#include "imessage.h"
#include "ipport.h"
class CloseMessage:public IMessage
{
public:
	CloseMessage(SOCKID sock, SESSIONID sessionID,short event,const IpPort& ip):IMessage(MESSAGE_TYPE::CLOSE,sock)
	,m_sessionId(sessionID),m_ipPort(ip){
	
	};

	virtual~CloseMessage() {};

	

private:
	SESSIONID m_sessionId;
	IpPort m_ipPort;
};
